* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --clr: #112434;
  --b-clr1: rgb(183, 140, 274);
  --b-clr2: rgb(255, 124, 148);
}

body {
  width: 100vw;
  min-height: 100vh;
  background: var(--clr);
  display: flex;
  justify-content: center;
  align-items: center;
}

.container {
  position: relative;
  width: 350px;
  height: 400px;
  background-color: #000;
  border-radius: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.container::before {
  content: "";
  width: 350px;
  height: 400px;
  background: linear-gradient(transparent, transparent, var(--b-clr1));
  position: absolute;
  animation: myAnimate 4s linear infinite;
  left: 50%;
  top: -50%;
  transform-origin: bottom left;
}

.container::after {
  content: "";
  width: 350px;
  height: 400px;
  background: linear-gradient(var(--b-clr2), transparent, transparent);
  position: absolute;
  animation: myAnimate 4s linear infinite;
  left: -50%;
  top: 50%;
  transform-origin: top right;
}

@keyframes myAnimate {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.content {
  color: #fff;
  z-index: 2;
  width: 342px;
  height: 392px;
  background: var(--clr);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
}

.content b {
  color: var(--b-clr1);
}

.content small {
  color: var(--b-clr2);
}